#pragma once

namespace Particles
{
	class Particle;

	class Emitter
	{
	public:
		void AddParticle(CIwFVec2 a_Pos, CIwFVec2 a_Dir, const int& a_Size = 1);
		void Update(float a_DT);
	private:
		std::list<Particle*> m_Particles;
	};

	class Particle
	{
	public:
		CIwFVec2 m_Pos;
		const int m_Size;
		int m_TrailSize;
		const CIwFVec2 m_Trail[10];
		int m_CurTrailPos;
		
	};
}